﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using DiagramShop.Ctrl;
using System.IO;
using InteControlSys.VehicleControlService;


namespace InteControlSys
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public DsControlExViewModel DsControlVM;
        public MainWindow()
        {
            InitializeComponent();

            //this.DsControlVM = this.dsControl.DataContext as DsControlExViewModel;
            //this.DsControlVM.IsEditMode = false;
            //this.DsControlVM.View.HideBars();

            //string[] filePaths = Directory.GetFiles(Environment.CurrentDirectory + "\\XdsFiles\\Layout");
            //for (int i = 0; i < filePaths.Length; i++)
            //{
            //    DsControlVM.OpenProject(ref filePaths[i]);
            //    //FieldsUpdate(filePaths[i], dataIndex);
            //    //SRMachinesUpdate(filePaths[i]);
            //}

            //BookWebServiceClient myservice = new BookWebServiceClient();
            //biblios re = myservice.findByBookrecno(111);

            //controlclient myservice = new controlclient();
            //arrivedvehicleinfo[] arrivedinfos = myservice.listarrivedvehicle();
           
        }

        public static string OperateNo;
    }
}
